package com.wjj.sixinone.service;

import com.wjj.sixinone.common.pojo.entity.Drug;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wjj.sixinone.common.pojo.vo.DrugFormVO;
import com.wjj.sixinone.common.pojo.vo.DrugVO;
import com.wjj.sixinone.common.util.Result;
import jakarta.servlet.http.HttpServletResponse;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 小王不秃头
 * @since 2024-07-22
 */
public interface DrugService extends IService<Drug> {

    Result selectDrugByLimit(DrugVO drugVO);

    void uploadExcel(HttpServletResponse response);

    Result removeDrugById(String id,String img);

    Result updateDrugById(DrugFormVO drugFormVO);

    Result addDrug(DrugFormVO drugFormVO);
}
